/**  
 * @Title:  AnyOne.java   
 * @Package com.wkr.jdbc.test03   
 * @Description:    TODO(用一句话描述该文件做什么)   
 * @author: WuKangrong     
 * @date:   2018年8月23日 下午8:55:48   
 * @version V
 * @JDKversion:1.8.0
 * @Copyright: 2018  
*/
package com.wkr.jdbc.test03;

import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;

/**   
 * @ClassName:  AnyOne   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: WuKangrong 
 * @date:   2018年8月23日 下午8:55:48     
 * @Copyright: 2018 
 */
public class departments {
	private Long department_id;
	private String department_name;
	private Long manager_id;
	private Long location_id;
	/**
	 * @return the department_id
	 */
	public Long getDepartment_id() {
		return department_id;
	}
	/**
	 * @param department_id the department_id to set
	 */
	public void setDepartment_id(Long department_id) {
		this.department_id = department_id;
	}
	/**
	 * @return the departmen_name
	 */
	public String getDepartment_name() {
		return department_name;
	}
	/**
	 * @param departmen_name the departmen_name to set
	 */
	public void setDepartmen_name(String departmen_name) {
		this.department_name = departmen_name;
	}
	/**
	 * @return the manager_id
	 */
	public Long getManager_id() {
		return manager_id;
	}
	/**
	 * @param manager_id the manager_id to set
	 */
	public void setManager_id(Long manager_id) {
		this.manager_id = manager_id;
	}
	/**
	 * @return the location_id
	 */
	public Long getLocation_id() {
		return location_id;
	}
	/**
	 * @param location_id the location_id to set
	 */
	public void setLocation_id(Long location_id) {
		this.location_id = location_id;
	}
	
	public void show() {
		System.out.format("%25s", this.getDepartment_id());
		System.out.format("%25s", this.getDepartment_name());
		System.out.format("%25s", this.getManager_id());
		System.out.format("%25s", this.getLocation_id());
		System.out.println();
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "departments [department_id=" + department_id + ", department_name=" + department_name + ", manager_id="
				+ manager_id + ", location_id=" + location_id + "]";
	}
	
}
